<div class="block box">
    <div class="blank"></div>
    <div id="ur_here"> 当前位置:
		<a href="{$smarty.const.__MODULE__}">首页</a> <code>&gt;</code>
		<a href="{$smarty.const.__MODULE__}/User/myorder">我的订单</a> <code>&gt;</code>订单详情
    </div>
</div>
<div class="blank"></div>
<div class="block box"></div>

<div class="block clearfix">
	<div class="order_detail1">
		<div>
			<span class="detail">订单号：{$detail.order_no}</span>
			{if {$detail.status}==0}
			<span style="color:red;" class="detail">订单状态:未支付 &nbsp;<a href="{$url}">去支付</a></span>
			<hr>
			<span style="margin-left:10px;">您的订单尚未支付，请您及时支付哦。</span>
			{else if {$detail.status}==1}
			<span style="color:#02DF82;" class="detail">订单状态:已支付</span>
			<hr>
			<span style="margin-left:10px;">您的订单已支付，请等待发货。</span>
			{else if {$detail.status}==2}
			<span style="color:#0072E3;" class="detail">订单状态:已发货</span>
			<hr>
			<span style="margin-left:10px;">您的订单已发货，包裹已经在路上了，请耐心等候哦。</span>
			{else if {$detail.status}==3}
			<span style="color:#00E3E3;" class="detail">订单状态:已收货</span>
			<hr>
			<span style="margin-left:10px;">您的订单已确认收货，欢迎进行评价。</span>
			{else if {$detail.status}==4}
			<span style="color:#53FF53;" class="detail">订单状态:已评价</span>
			<hr>
			<span style="margin-left:10px;">您的订单已确认收货，欢迎继续选购。</span>
			{/if}
		</div>
	</div>
	<div class="order_detail2">
		<div>
			<div class="detail">
				<span>收货信息</span>
				{if {$detail.status}>1}
					<span style="margin-left:150px;">快递公司：{$detail.tracking_type}</span>
					<span style="margin-left:50px;">快递单号：{$detail.tracking_num}</span>
					<span style="margin-left:50px;"><a href="http://www.kuaidi100.com/chaxun?com={$detail.tracking_type}&nu={$detail.tracking_num}" target="_blank">查看物流</a></span>
				{/if}
			</div>
			<hr/>
			<div>
				<p class="details">收货人姓名：{$detail.name}</p>
				<p class="details">收货人手机：{$detail.phone}</p>
				<p class="details">收货人邮件：{$detail.email}</p>
				<p class="details">收货人邮编：{$detail.postcode}</p>
				<p class="details">收货人地址：{$detail.adress}</p>
			</div>
		</div>
	</div>
	<div class="order_detail2">
		<div class="detail">订单商品</div>
		<hr/>
		<div>
			<ul>
				<li class="good_detail">商品编号</li>
				<li class="good_detail">商品名称</li>
				<li class="good_detail">商品单价</li>
				<li class="good_detail">购买数量</li>
			</ul><br/>
		</div><br/>
		{foreach $order_goods as $k=>$v}
		<div >
			<ul >
				<li style="width:80px;" class="good_details">{$v.goods_id}</li>
				<li style="width:350px;margin-left:20px;" class="good_details">
					<a href="{$smarty.const.__MODULE__}/Goods/detail/goods_id/{$v.goods_id}" target="_blank">
						{$v.goods_name}
					</a>
				</li>
				<li style="width:80px;margin-left:20px;"class="good_details">{$v.goods_price}</li>
				<li style="width:80px;margin-left:150px;"class="good_details">{$v.number}</li>
			</ul><br/><br/>
		</div>
		{/foreach}
	</div>
	
	<div class="order_detail2">
	<div>
		<div class="detail">支付信息</div>
		<hr/>
		<div style="text-align:right;">
			<p><span style="font-size:14px;margin-right:15px;">创建时间：{date("Y-m-d H:i:s",$detail.create_time)}</span></p><br/>
			{if {$detail.status}==0}
			<p><span style="font-size:14px;margin-right:15px;">支付时间：未支付</span></p><br/>
			{else}
			<p><span style="font-size:14px;margin-right:15px;">支付时间：{date("Y-m-d H:i:s",$detail.pay_time)}</span></p><br/>
			<p><span style="font-size:14px;margin-right:15px;">支付流水：{$detail.yborderid}</span></p><br/>
			<p><span style="font-size:14px;margin-right:15px;">支付银行：{$detail.bank}</span></p><br/>
			{/if}
			<p>
				<span style="font-size:14px;font-weight:bold;">订单总额：</span>
				<span style="color:red;font-size:16px;font-weight:bold;margin-right:15px;">￥{$detail.price}</span>
			</p><br/>
		</div>
	</div>
	</div>
</div>